﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB.YJKControls;

namespace YArchitech.HVAC
{
	public partial class RadiatorLoadForm : System.Windows.Forms.Form
	{
		public RadiatorLoadForm()
		{
			this.InitializeComponent();
		}

		private void btnOK_Click(object sender, EventArgs e)
		{
			if (this.rboCurrentFloor.Checked)
			{
				this.SpaceSelect = 1;
			}
			else if (this.rboAll.Checked)
			{
				this.SpaceSelect = 2;
			}
			base.DialogResult = DialogResult.OK;
		}

		private void btnCancel_Click(object sender, EventArgs e)
		{
			base.Close();
		}

		public int SpaceSelect;
	}
}
